package com.smxy.hunzi.article.openfeign;

import com.smxy.hunzi.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;


/**
 * @author 李涛
 * @date 2020-09-06 19:28
 */
@FeignClient("hunzi-user")
public interface UserOpenfeignService {
    @RequestMapping("/user/user/info/{id}")
    R info(@PathVariable("id") Long id);
}
